<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        class People {
            constructor(name, age, sex) {
                this.name = name;
                this.age = age;
                this.sex = sex;

            }
            play = function () {
                console.log('123456');
            }
            game() {
                console.log('123');
            }
            static address = '郑州';
            static eat(food) {
                console.log(food);
            }
        }
        let jay = new People('周杰伦', 18, '男');
        let gg = new People()

        console.dir(jay);

        console.dir(jay.__proto__);
        console.dir(People.prototype);
        Object.prototype.__proto__ = 100;
        console.log(gg.tall);
        console.log(jay.tall);




    </script>
</body>

</html>